package pratap;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorActionForm;

public class ContactForm extends ValidatorActionForm{
private String fname;
private String lname;
private String email;
private String phone;
public String getFname() {
	return fname;
}
public void setFname(String fname) {
	this.fname = fname;
}
public String getLname() {
	return lname;
}
public void setLname(String lname) {
	this.lname = lname;
}
public String getEmail() {
	return email;
}
public void setEmail(String email) {
	this.email = email;
}
public String getPhone() {
	return phone;
}
public void setPhone(String phone) {
	this.phone = phone;
}


public void reset(ActionMapping mapping, HttpServletRequest request) {
this.fname=null;
this.email=null;
this.lname=null;
this.phone=null;
		
	}
}
